﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IdentityServer4Blazor.Shared.IdentityServerModel
{
    public class User
    {
        /// <summary>
        /// 
        /// </summary>
        public string id_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string session_state { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string token_type { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public string scope { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Profile profile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int expires_at { get; set; }
    }
    public class Profile
    {
        /// <summary>
        /// 
        /// </summary>
        public string s_hash { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sub { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int auth_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string idp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> amr { get; set; }
    }

}
